package com.mdd.front.vo.spu;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@ApiModel("商品列表")
public class ProductSpuVo implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "商品编号，自增")
    private Long id;
    @ApiModelProperty(value = "商品名称")
    private String name;
    @ApiModelProperty(value = "商品详情")
    private String description;
    @ApiModelProperty(value = "商品封面图")
    private String picUrl;
    @ApiModelProperty(value = "商品轮播图地址 数组，以逗号分隔 最多上传5张")
    private String sliderPicUrls;
    @ApiModelProperty(value = "商品视频")
    private String videoUrl;
    @ApiModelProperty(value = "规格类型：0 单规格 1 多规格")
    private Integer specType;
    @ApiModelProperty(value = "商品价格，单位使用：元")
    private BigDecimal price;
    @ApiModelProperty(value = "市场价，单位使用：元")
    private BigDecimal marketPrice;
    @ApiModelProperty(value = "成本价，单位： 元")
    private BigDecimal costPrice;
    @ApiModelProperty(value = "每期租金（展示）")
    private String amountStr;

    @ApiModelProperty(value = "库存")
    private Long stock;
}
